home *** CD-ROM | disk | FTP | other *** search
/ United Public Domain Gold 2 / United Public Domain Gold 2.iso / music_utilities / pt013.dms / pt013.adf / Programmers / PlayerLibrary / libproto.h < prev    next >
C/C++ Source or Header  |  1991-08-25  |  2KB  |  56 lines

  1. /* pragmas for MEDPlayer.library V2.00*/
  2. #ifndef NO_PRAGMAS
  3. #pragma libcall MEDPlayerBase GetPlayer 1e 1
  4. #pragma libcall MEDPlayerBase FreePlayer 24 0
  5. #pragma libcall MEDPlayerBase PlayModule 2a 801
  6. #pragma libcall MEDPlayerBase ContModule 30 801
  7. #pragma libcall MEDPlayerBase StopPlayer 36 0
  8. /* #pragma libcall MEDPlayerBase DimOffPlayer 3c 1 --- REMOVED */
  9. #pragma libcall MEDPlayerBase SetTempo 42 1
  10. #pragma libcall MEDPlayerBase LoadModule 48 801
  11. #pragma libcall MEDPlayerBase UnLoadModule 4e 801
  12. #pragma libcall MEDPlayerBase GetCurrentModule 54 0
  13. #pragma libcall MEDPlayerBase ResetMIDI 5a 0
  14. /* functions below in V2.00 or later*/
  15. #pragma libcall MEDPlayerBase SetModnum 60 001
  16. #pragma libcall MEDPlayerBase RelocModule 66 801
  17.  
  18. /* prototypes for OctaPlayer.library V2.00*/
  19. #pragma libcall OctaPlayerBase GetPlayer8 1E 0
  20. #pragma libcall OctaPlayerBase FreePlayer8 24 0
  21. #pragma libcall OctaPlayerBase PlayModule8 2A 801
  22. #pragma libcall OctaPlayerBase ContModule8 30 801
  23. #pragma libcall OctaPlayerBase StopPlayer8 36 0
  24. #pragma libcall OctaPlayerBase LoadModule8 3C 801
  25. #pragma libcall OctaPlayerBase UnLoadModule8 42 801
  26. #pragma libcall OctaPlayerBase SetModnum8 48 001
  27. #pragma libcall OctaPlayerBase RelocModule8 4E 801
  28. #endif
  29. /* prototypes */
  30. LONG GetPlayer(UWORD midi);
  31. void FreePlayer(void);
  32. void PlayModule(struct MMD0 *module);
  33. void ContModule(struct MMD0 *module);
  34. void StopPlayer(void);
  35. /* void DimOffPlayer(UWORD length); */
  36. void SetTempo(UWORD tempo);
  37. struct MMD0 *LoadModule(char *name);
  38. void UnLoadModule(struct MMD0 *module);
  39. struct MMD0 *GetCurrentModule(void);
  40. void ResetMIDI(void);
  41. void SetModnum(UWORD modnum);
  42. void RelocModule(struct MMD0 *module);
  43.  
  44. /* for octaplayer.library (not provided with MED) */
  45. LONG GetPlayer8(void);
  46. void FreePlayer8(void);
  47. void PlayModule8(struct MMD0 *module);
  48. void ContModule8(struct MMD0 *module);
  49. void StopPlayer8(void);
  50. struct MMD0 *LoadModule8(char *name);
  51. void UnLoadModule8(struct MMD0 *module);
  52. void SetModnum8(UWORD modnum);
  53. void RelocModule8(struct MMD0 *module);
  54.  
  55. #define MEDPLAYER_LIBPROTO 1
  56.